#include <mystdio.h>
#include <mystring.h>
#include <stdio.h>

int main()
{
	const char *s = "abcdef";
	printf("%s: %d\n", s, mystrlen(s));

	mFILE *pf = mfopen("log.txt", "a");
	if (pf == NULL)
		return 1;

	mfwrite(s, mystrlen(s), pf);
	mfwrite(s, mystrlen(s), pf);
	mfwrite(s, mystrlen(s), pf);

	mfclose(pf);
	return 0;
}
